import numpy as np
int_array = np.array([1,2,3,4,5])
print(int_array.dtype)
print(int_array)

float_array = int_array.astype(np.float32)
print(float_array.dtype)
print(float_array)